package com.yuke.cloud.service.smc.service.impl;

import com.yuke.cloud.common.core.support.BaseService;
import com.yuke.cloud.service.smc.dao.ShopCollectMapper;
import com.yuke.cloud.service.smc.dto.ShopCollectDto;
import com.yuke.cloud.service.smc.entity.ShopCollect;
import com.yuke.cloud.service.smc.service.ShopCollectService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by zn on 2020/04/14.
 */
@Service
@Transactional
public class ShopCollectServiceImpl extends BaseService<ShopCollect> implements ShopCollectService {
    @Resource
    private ShopCollectMapper shopCollectMapper;

    @Override
    public List<ShopCollectDto> getCollectInfoByUserId(Long userId) {
        return shopCollectMapper.getCollectInfoByUserId(userId);
    }


}
